package com.ruoyi.business.domain;

public class StationParameter {

    private double a;

    private double b;

    private double f0;

    public double getA() {
        return a;
    }

    public void setA(double a, int n) {

        this.a = a * Math.pow(10, n);
    }

    public double getB() {
        return b;
    }

    public void setB(double b, int n) {
        this.b =  a * Math.pow(10, n);
    }

    public double getF0() {
        return f0;
    }

    public void setF0(double f0) {
        this.f0 = f0;
    }

    public StationParameter(double a, double b, double f0, int an, int bn) {
        this.a = a * Math.pow(10, an);
        this.b =  a * Math.pow(10, bn);
        this.f0 = f0;
    }
}
